﻿using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Microsoft.Xrm.Client;
using Microsoft.Xrm.Client.Services;
using CrmField.Plugins;
using System.Collections.Generic;
using Microsoft.Xrm.Sdk;
using Microsoft.Xrm.Sdk.Query;
using System.Linq;

namespace CrmField.Tests.Plugins
{
    [TestClass]
    public class ConfigurationManagerTest
    {
        [TestMethod]
        public void RetrieveAllConfiguration()
        {
            CrmConnection crmConnection = new CrmConnection("devCrmOnline");
            var service = new OrganizationService(crmConnection);

            Dictionary<string,string> configurationRecords = ConfigurationManager.RetrieveAllConfiguration(service);
        }
    }
}
